import React from 'react';
import { BrowserRouter, HashRouter } from 'react-router-dom';
import { Provider } from 'react-redux';
import configureStore from './store';
import Routes from './Routes';

const Router = HashRouter;
const store = configureStore();

export default (class App extends React.Component {
  render() {
    return (
      <Provider store={store}>
        <Router>
          <Routes />
        </Router>
      </Provider>
    )
  }
})